set -g prefix C-a
unbind C-b

bind r source-file ~/.tmux.conf \; display "Reloaded"

setw -g mode-keys vi

unbind [
bind Escape copy-mode
unbind p
bind p paste-buffer
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection

bind C-a select-pane -t :.+

# vertical split
bind s split-window -h

bind -r n resize-pane -L 5
bind -r m resize-pane -R 5
